<?php
class PostsController extends AppController 
{
	var $name = 'Posts';
	var $helpers = array('Html','Ajax','Javascript');
	
	function index() {
		$posts = $this->Post->find('all');
		$this->set('posts' ,$posts);
	}
	
	function read($id = null ,$url = null) {
		
	}
	
	function admin_index() {
		
	}
}
?>